home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c++ / 936 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.5 KB

  1. Path: engnews1.Eng.Sun.COM!taumet!clamage
  2. From: Nico Josuttis <nico@bredex.de>
  3. Newsgroups: comp.std.c++
  4. Subject: strings as stl container
  5. Date: 2 Apr 1996 15:16:12 GMT
  6. Organization: ?
  7. Approved: clamage@eng.sun.com (comp.std.c++)
  8. Message-ID: <199604020907.LAA06972@bredex.bredex.de>
  9. NNTP-Posting-Host: taumet.eng.sun.com
  10. X-Authentication-Warning: bredex.bredex.de: Host localhost didn't use HELO protocol
  11. X-Mts: smtp
  12. Content-Length: 686
  13. Originator: clamage@taumet
  14.  
  15.  
  16. Due to the fact that strings have iterator support,
  17. the could be used as stl container.
  18. But two things are missing:
  19.  - push_back()
  20.  - clear()
  21. These are fundamental operations, that the corresponding "normal"
  22. container, namely vector, has.
  23. Especially push_back() would be essential to use insert iterators
  24. for strings.
  25. Wouldn't it make sense to introduce them for strings ?
  26.  
  27. --------
  28. Nico                             address: BREDEX GmbH
  29. email:   nico@bredex.de                   Nicolai Josuttis
  30.                                           Fallersleber-Tor-Wall 23
  31. phone:   +49 531 24330-0                  D-38100 Braunschweig
  32. fax:     +49 531 24330-99                 Germany
  33. --------
  34.  
  35.  
  36. [ comp.std.c++ is moderated.  To submit articles: try just posting with      ]
  37. [ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu         ]
  38. [ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
  39. [ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
  40. [ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]
  41.